package cc.rengu.igas.smps.facade;

import cc.rengu.igas.smps.facade.request.BankCardRecogRequest;
import cc.rengu.igas.smps.facade.request.BusinessLicenseRecogRequest;
import cc.rengu.igas.smps.facade.request.IdentityCertRecogRequest;
import cc.rengu.igas.smps.facade.response.BankCardRecogResponse;
import cc.rengu.igas.smps.facade.response.BusinessLicenseRecogResponse;
import cc.rengu.igas.smps.facade.response.IdentityCertRecogResponse;
import cc.rengu.igas.smps.facade.result.Result;

/**
 * Created by WKF on 2020-04-07
 * OCR文字识别服务接口
 *
 * @author WKF
 */
public interface OcrRecogService {

    /**
     * 营业执照OCR识别
     *
     * @param businessLicenseRecogRequest 营业执照信息
     * @return Result<BusinessLicenseRecogResponse> 营业执照信息识别结果
     */
    Result<BusinessLicenseRecogResponse> businessLicenseRecog(BusinessLicenseRecogRequest businessLicenseRecogRequest);

    /**
     * 身份证OCR识别
     *
     * @param identityCertRecogRequest 身份证件信息
     * @return Result<IdentityCertRecogResponse> 身份证件信息识别结果
     */
    Result<IdentityCertRecogResponse> identityCertRecog(IdentityCertRecogRequest identityCertRecogRequest);

    /**
     * 银行卡OCR识别
     *
     * @param bankCardRecogRequest 银行卡信息
     * @return Result<BankCardRecogResponse> 银行卡信息识别结果
     */
    Result<BankCardRecogResponse> bankCardRecog(BankCardRecogRequest bankCardRecogRequest);
}
